home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
pgm_tool
/
udtdem
/
sdk
/
rqproc
/
rqproc.c
< prev
next >
Wrap
Text File
|
1994-05-15
|
2KB
|
121 lines
#include <process.h>
#include <tispxipx.h>
#include "rqproc.h"
#include "main.h"
int RQProcRegisterNewClient ( HCLIENT hClient,
const IPX_ADDR * pstIPXAddress,
WORD wNetwareConnection,
const char * pszUserName
)
{
int iClientID = SetNLMID ( GetLibraryID () );
// Add your code here
SetNLMID ( iClientID );
return ( RQP_OK );
}
int RQProcClientTermination ( HCLIENT hClient )
{
int iClientID = SetNLMID ( GetLibraryID () );
// Add your code here
SetNLMID ( iClientID );
return ( 1 );
}
int RQProcCriticalClientTermination ( HCLIENT hClient )
{
int iClientID = SetNLMID ( GetLibraryID () );
// Add your code here
SetNLMID ( iClientID );
return ( 1 );
}
int RQProcGetDescriptionText ( HCLIENT hClient, const char * pRequest, char * pDescription, int iLength )
{
int iClientID = SetNLMID ( GetLibraryID () );
// Add your code here
* pDescription = 0;
SetNLMID ( iClientID );
return ( 1 );
}
int RQProcProcessRequest ( HCLIENT hClient,
char ** ppRequest,
LONG * plRequestLength
)
{
int iClientID = SetNLMID ( GetLibraryID () );
// Add your code here
SetNLMID ( iClientID );
return ( RQP_OK );
}
int RQProcLoadTransporter ( char * pszCommandLine, char * pszStartupDirectory )
{
return ( RQP_OK );
}
void RQProcDownTransporter ( void )
{
int iClientID = SetNLMID ( GetLibraryID () );
// Add your code here
SetNLMID ( iClientID );
}
int RQProcGetNumberOfConnections ( void )
{
int iClientID = SetNLMID ( GetLibraryID () );
// Add your code here
SetNLMID ( iClientID );
return ( 2 );
}